<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/3/20
  Time: 14:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <a href="account/findAll">测试</a>
    <h1>重定向</h1>
    <h2>传统方式文件上传</h2>
    <form action="user/fileupload1" method="post" enctype="multipart/form-data">
        选择文件：<input type="file" name="upload"><br/>
        <input type="submit" value="上传">
    </form>
    <h2>SpringMVC方式文件上传</h2>
    <form action="user/fileupload2" method="post" enctype="multipart/form-data">
        选择文件：<input type="file" name="upload"><br/>
        <input type="submit" value="上传">
    </form>
    <h1>跨服务器方式文件上传</h1>
    <form action="user/fileupload3" method="post" enctype="multipart/form-data">
        选择文件：<input type="file" name="upload"><br/>
        <input type="submit" value="上传">
    </form>
    <br/><h2>异常处理</h2>
    <a href="user/testException">异常处理</a>
    <h6>拦截器</h6>
    <a href="user/testInterceptor">拦截器</a>
</body>
</html>
